dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleObject Class / ExecuteMethod Method / ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,Type,Object[]) Method
The object which method to execute. Can be either typed (i.e., an instance of a wizard-generated class) or untyped (i.e., an OracleObject instance).
The connection to the Oracle database where the UDT used is declared.
The user-defined type which obj is an instance of.
The method to be invoked.
The type of the method's return value.
The list of input parameters passed to the method.

In This Topic
    ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,Type,Object[]) Method
    In This Topic
    Calls the method of an Oracle object with the specified set of parameters.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ExecuteMethod( _
       ByVal obj As ICustomOracleObject, _
       ByVal connection As OracleConnection, _
       ByVal typeName As String, _
       ByVal methodName As String, _
       ByVal resultType As Type, _
       ByVal ParamArray parameters() As Object _
    ) As Object
    public static object ExecuteMethod( 
       ICustomOracleObject obj,
       OracleConnection connection,
       string typeName,
       string methodName,
       Type resultType,
       params object[] parameters
    )

    Parameters

    obj
    The object which method to execute. Can be either typed (i.e., an instance of a wizard-generated class) or untyped (i.e., an OracleObject instance).
    connection
    The connection to the Oracle database where the UDT used is declared.
    typeName
    The user-defined type which obj is an instance of.
    methodName
    The method to be invoked.
    resultType
    The type of the method's return value.
    parameters
    The list of input parameters passed to the method.

    Return Value

    The method's return value casted to the resultType type.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also